package com.fy.fyai.model.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.ai.chat.messages.MessageType;

import java.time.LocalDateTime;
import java.util.List;

/**
 * 消息内容实体类
 * @author fwq
 * @date 2025-10-24
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class MessageContent {
    @JsonProperty("role")
    private String role;

    @JsonProperty("content")
    private String content;

    @JsonProperty("send_time")
    private String send_time;

    @JsonProperty("tokens")
    private Integer tokens;

    @JsonProperty("content_summary")
    private String content_summary;

    @JsonProperty("attachments")
    private List<String> attachments;

}